import numpy as np
import matplotlib.pyplot as plt
from apps.fmcw.fmcw_rsp import FmcwRsp
import apps.fmcw.t3 as t3

RDC = np.load('./work/FMCW-MIMO-Radar-Simulation/RDC.npy')
print(f'RDC: {RDC.shape};')
rangeFFT = np.fft.fft(RDC, axis=0)
print(f'rangeFFT: {rangeFFT.shape}; {rangeFFT.dtype};')
# np.save('./work/FMCW-MIMO-Radar-Simulation/RDC.npy', RDC)
# exit(0)
t3.compare_rangeFFT(rangeFFT)